import { AppCTX } from "../../types/koaExtend";
import Router from "koa-router";
import {
  listExpressPlatforms,
} from "../../service/commonService";
import { _pick } from "mmb";
const router = new Router();

// 获取物流平台列表
router.get("/com/expressPlatforms", async (ctx: AppCTX, next) => {
  const items = await listExpressPlatforms();
  ctx.body = items;
});


export default router;